<div id="main">
<div id="contents">
<form method="post" action="#" name="filters">
<fieldset>
    <legend>
        <label sid="voip.table1_title"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr id="tr65">
                <td class="frame_tab_left">
                    <span id="img65" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td1"></label>
                    </label>
                </td>
                <td id="td65" class="frame_tab_right">
                    <input type="text" name="id65">
                    <span id="msg65">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr59">
                <td class="frame_tab_left">
                    <span id="img59" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td2"></label>
                    </label>
                </td>
                <td id="td59" class="frame_tab_right">
                    <input type="text" name="id59">
                    <span id="msg59">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr60">
                <td class="frame_tab_left">
                    <span id="img60" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td3"></label>
                    </label>
                </td>
                <td id="td60" class="frame_tab_right">
                    <input type="text" name="id60">
                    <span id="msg60">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr321">
                <td class="frame_tab_left">
                    <span id="img321" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td4"></label>
                    </label>
                </td>
                <td id="td321" class="frame_tab_right">
                    <input type="text" name="id321">
                    <span id="msg321">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr240">
                <td class="frame_tab_left">
                    <span id="img240" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td5"></label>
                    </label>
                </td>
                <td id="td240" class="frame_tab_right">
                    <input type="text" name="id240">
                    <label sid="voip.table1_exp5_1"></label>
                    <span id="msg240">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr239">
                <td class="frame_tab_left">
                    <span id="img239" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table1_td6"></label>
                    </label>
                </td>
                <td id="td239" class="frame_tab_right">
                    <input type="text" name="id239">
                    <label sid="voip.table1_exp5_1"></label>
                    <span id="msg239">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr312">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table1_td7"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <input type="checkbox" name="id312">
                </td>
            </tr>
            <tr id="tr164">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table1_td9"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <input type="radio" value="yes" name="id164">
                    <label>
                        <label sid="voip.table1_radio9_1"></label>
                    </label>
                    <span style="padding-left:20px;"></span>
                    <input type="radio" value="no" name="id164">
                    <label>
                        <label sid="voip.table1_radio9_2"></label>
                    </label>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset>
<!--<fieldset>
    <legend>
        <label sid="voip.table2_title"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr>
                <td class="frame_tab_left">&nbsp;</td>
                <td class="frame_tab_right">
                    <input type="radio" onclick="read();" value="on" name="id252">
                    <label sid="voip.table2_radio0_1"></label>

                    <span style="padding-left:20px;"></span>
                    <input type="radio" onclick="read();" value="off" name="id252">
                    <label sid="voip.table2_radio0_2"></label>

                </td>
            </tr>
            <tr id="tr261">
                <td class="frame_tab_left">
                    <span id="img261" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table2_td1"></label>
                    </label>
                </td>
                <td id="td261" class="frame_tab_right">
                    <input type="text" name="id261">
                    <label sid="sysoptional.table2_exp6"></label>

                    <span id="msg261">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr256">
                <td class="frame_tab_left">
                    <span id="img256" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table2_td2"></label>
                    </label>
                </td>
                <td id="td256" class="frame_tab_right">
                    <input type="radio" value="yes" name="id256">
                    <label>
                        <label sid="voip.table2_radio2_1"></label>
                    </label>
                    <span style="padding-left:20px;"></span>
                    <input type="radio" value="no" name="id256">
                    <label>
                        <label sid="voip.table2_radio2_2"></label>
                    </label>
                </td>
            </tr>
            <tr id="tr259">
                <td class="frame_tab_left">
                    <span id="img259" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table2_td3"></label>
                    </label>
                </td>
                <td id="td259" class="frame_tab_right">
                    <input type="checkbox" name="id259">
                </td>
            </tr>
            <tr id="tr265">
                <td class="frame_tab_left">
                    <span id="img265" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="voip.table2_td4"></label>
                    </label>
                </td>
                <td id="td265" class="frame_tab_right">
                    <input type="checkbox" name="id265">
                    <span id="msg265">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr257">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table2_td5"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <select style="width:100px;" name="id257">
                        <option value="0" sid="voip.table2_select5_option1"></option>
                        <option value="1" sid="voip.table2_select5_option2"></option>
                        <option value="2" sid="voip.table2_select5_option3"></option>
                        <option value="3" sid="voip.table2_select5_option4"></option>
                    </select>
                </td>
            </tr>
            <tr id="tr258">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table2_td6"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <select style="width:100px;" name="id258">
                        <option value="0" sid="voip.table2_select6_option1"></option>
                        <option value="1" sid="voip.table2_select6_option2"></option>
                        <option value="2" sid="voip.table2_select6_option3"></option>
                        <option value="3" sid="voip.table2_select6_option4"></option>
                    </select>
                </td>
            </tr>
            <tr id="tr254">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table2_td7"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <select style="width:100px;" name="id254">
                        <option value="10" sid="voip.table2_select7_option1"></option>
                        <option value="20" sid="voip.table2_select7_option2"></option>
                        <option value="30" sid="voip.table2_select7_option3"></option>
                        <option value="40" sid="voip.table2_select7_option4"></option>
                        <option value="50" sid="voip.table2_select7_option5"></option>
                        <option value="60" sid="voip.table2_select7_option6"></option>
                    </select>
                </td>
            </tr>
            <tr id="tr255">
                <td class="frame_tab_left">
                    <label>
                        <label sid="voip.table2_td8"></label>
                    </label>
                </td>
                <td class="frame_tab_right">
                    <select style="width:100px;" name="id255">
                        <option>1</option>
                        <option>2</option>
                        <option>3</option>
                        <option>4</option>
                        <option>5</option>
                        <option>6</option>
                    </select>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset> -->
<br>
<br>
<div class="submitFooter">
    <div class="submitFooter">
        <script type="text/javascript">
            var buttonInfo = submitFooterButton(1,0);
            $(".submitFooter").html(buttonInfo);
        </script>
    </div>
</div>
</form>
</div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">

            <dl>
            <dt class="term">
                <label sid="voip.table1_td1"></label>
            </dt>
            <dd class="definition">
                <label sid="voip.table1_td1Tip"></label>
            </dd>
            <dt class="term">
                <label sid="voip.table1_td2"></label>
            </dt>
            <dd class="definition">
                <label sid="voip.table1_td2Tip"></label>
            </dd>
                <dt class="term">
                    <label sid="voip.table1_td3"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td3Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="voip.table1_td4"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td4Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="voip.table1_td5"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td5Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="voip.table1_td6"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td6Tip"></label>
                </dd>

                <dt class="term">
                    <label sid="voip.table1_td7"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td7Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="voip.table1_td9"></label>
                </dt>
                <dd class="definition">
                    <label sid="voip.table1_td9_step1"></label><br>
                    <label sid="voip.table1_td9_step2"></label><br><br>
                    <label sid="voip.table1_td9_step3"></label><br>
                    <label sid="voip.table1_td9_step4"></label>
                </dd>
        </dl>

        <br>
        <a href="javascript:openHelpWindow('voip_help.htm?language='+getQueryStr('language'));">
            <img border="0" src="images/more.png">
        </a>
        </div>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function(){
        var nonames = new Array("submit");
        var sendtext = getSendText(nonames);
        DataRequest("get_json",sendtext,function(data){
            getResult(nonames,data);
            read();
        });

        $("[name=submit]").click(function () {
            $(".errormsg").html('');
            var settext = getSetText(nonames);
            settext=settext.replace(/\#/g,"%23");
            submitform(modules["set_data"],settext);
        });
    });


function read() {
	if(!$("[name=id252]").attr("checked")) {
		$("#tr261").hide();
		$("#tr256").hide();
		$("#tr265").hide();
		$("#tr259").hide();
		$("#tr257").hide();
		$("#tr258").hide();
		$("#tr254").hide();
		$("#tr255").hide();
	}else {
		$("#tr261").show();
		$("#tr256").show();
		$("#tr265").show();
		$("#tr259").show();
		$("#tr257").show();
		$("#tr258").show();
		$("#tr254").show();
		$("#tr255").show();
	}
}
</script>
